package com.MinesweeperGame.server;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class MinesweeperRegistration {
	
	@PrimaryKey
	  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	  private Long id;
	  @Persistent
	  private String UserName;
	  @Persistent
	  private String Password;
	  
	public MinesweeperRegistration() {
		  
	}
		
	public MinesweeperRegistration(String username, String password) {
		  
		 this.UserName = username;
		 this.Password = password;
	}
	   
	public Long getId() {
		
		 return this.id;
	}

	public String getUserName() {
		
		 return this.UserName;
	}

	public String getPassword() {
			  
		 return this.Password;
	}
		  
	public void setUserName(String username) {
			  
		 this.UserName = username;
	}

	public void setPassword(String password) {
			  
		 this.Password = password;
	}
}
